#include <climits>

#include "set.h"

class Particle{
	
	public:
		Particle(int, int, Set*);
		~Particle();
		
		void calculateFitness();
		int* randomPositionVector();
		int* randomVelocityVector();
		void updatepBestPosition();
		void isValid();
		
		int k;
		int L;
		Set* sets;
		
		int *x;
		int *v;
		
		int *pBest;
		
		int fitness;
		int fitness_pBest;
		
};

#include "particle.cpp"